package card;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 苏李涛
 * Date: 2024-06-16
 * Time: 18:58
 */
public class Card {
    public int rank;//牌字面值
    public String suit;//花色

    public Card(int rank, String suit) {
        this.rank = rank;
        this.suit = suit;
    }

    @Override
    public String toString() {
        /*return "Card{" +
                "rank=" + rank +
                ", suit='" + suit + '\'' +
                '}';*/

        return "{" + suit + rank + "}";

    }

}
